package com.snj.bestdealer.join;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.RelativeLayout;

import com.snj.bestdealer.R;

public class JoinTypeActivity extends Activity {
	
	RelativeLayout rlly_consumer = null;
	RelativeLayout rlly_dealer = null;
	RelativeLayout rlly_shop = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.activity_join_type);
		
		rlly_consumer = (RelativeLayout)findViewById(R.id.rlly_consumer);
		rlly_consumer.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
				Intent consumerintent = new Intent(getApplicationContext(), JoinConsumerActivity1.class);
				startActivity(consumerintent);
				
			}
		});
		
		rlly_dealer = (RelativeLayout)findViewById(R.id.rlly_dealer);
		rlly_dealer.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
				Intent dealerintent = new Intent(getApplicationContext(), JoinDealerActivity1.class);
				startActivity(dealerintent);
				
			}
		});
		
		rlly_shop = (RelativeLayout)findViewById(R.id.rlly_shop);
		rlly_shop.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent shopintent = new Intent(getApplicationContext(), JoinShopActivity1.class);
				startActivity(shopintent);
			}
		});
	}
	
}
